<!DOCTYPE html>
<html th:replace="~{layouts/layout :: layout(~{::title}, ~{::section})}" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>主页 - 青池</title>
</head>
<body>
    <section>
        <style>
            #post {
                width: 90%;
                margin: 0 auto; }
        </style>
        <div id="stage">
            <ul id="post" th:each="article : ${articles}">
                <li>
                    <a th:href="'/article?id=' + ${article.getId()}" th:text="${article.getTitle()}"></a>
                </li>
            </ul>
        </div>
    </section>
</body>
</html>
